-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP new share urls #9221
WIP new share urls #9221
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
Kudos, SonarCloud Quality Gate passed! |
Results for e2e-tests oC10 https://drone.owncloud.com/owncloud/web/36511/11/1 💥 To see the trace, please open the link in the console ...
npx playwright show-trace https://cache.owncloud.com/public/owncloud/web/36511/tracing/quick-link-alice-2023-6-13-02-49-42.zipnpx playwright show-trace https://cache.owncloud.com/public/owncloud/web/36511/tracing/quick-link-anonymous-2023-6-13-02-49-51.zip |
7bf9583
to
902ee9a
Compare
}, | ||
{ immediate: true, deep: true } | ||
) | ||
watch( | ||
space, | ||
(s: Resource) => { | ||
if (!s || ['public', 'share', 'personal'].includes(s.driveType)) { | ||
if (!s || ['public', 'share', 'personal', 'mountpoint'].includes(s.driveType)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove share type
@tbsbdr please see open questions |
These are kinda important, let's discuss asap |
7e2c54f
to
23bb4f7
Compare
3b3b782
to
5b034f4
Compare
fa973c3
to
e066302
Compare
Resolve links to root spaces instead of mountpoints
55e338d
to
c157673
Compare
@@ -55,7 +55,7 @@ export const breadcrumbsFor = ({ | |||
query: { | |||
...omit(currentRoute.query, 'page'), | |||
// FIXME: add only when idBased routing is on | |||
...(false && { fileId: currentAncestorMetaDataValue.id }) | |||
...(true && { fileId: currentAncestorMetaDataValue.id }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😬
Superseded by #9721 |
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks:
share/<shareName>
but the drive alias and path from the share owner, e.g.personal/admin/test/test2/test3
)useDriveResolver
: load all mount points if a driveAliasAndItem could not be resolved (store actionloadMountPoints
)share
spaces in the code baseisShareSpaceResource
replaceInvalidFileRoute
be handled in useDriveResolver now?FolderLoaderSpace
at all after this? Potentially it's merged into (or used by) the useDriveResolver directlyloadFolderForFileContext,
replaceInvalidFileRoute`,Follow up tasks:
potential follow up tasks
Open questions
/personal/einstein/…/foo
personal/einstein > … > foo
? What should be shown as root space? We currently only get the driveAlias from the API